
/*margin表示到外边框，上一层元素的距离，最外层的div的上一层元素就是body，到左和右都为auto 就表示水平居中*/
                      #mainDiv{border:solid 1px;width:1000px;height:;margin-left:auto;margin-right: auto;
font-family: "微软雅黑";}
#info{height:240px;border: dashed 1px;position: relative;}
#title{width:200px; margin-left:auto;margin-right: auto;text-align: center;font-size:36px;
    margin-top:16px;}
/* 用关系查找元素 来设置  例如   >  子元素*/
#info > ul > li{list-style-type: none;margin-top:5px;}
#info > ul > li > span{height:26px;display: inline-block;}
#info > ul > li > span:nth-child(1){width:80px;}
#info > ul > li > span:nth-child(2){width:140px;}
#info > ul > li > span:nth-child(3){width:80px;}
#info > ul > li > span:nth-child(4){width:140px;}
#info > ul > li > span:nth-child(5){width:80px;}

#employrecords{position: relative;}
#employrecords >p {background-color: red;width:100px;height:26px;text-align: center;line-height: 26px;color:white;
    border-radius: 4px 4px 0px 0px}
#employrecords > hr{width: 800px;position: absolute;top:16px;border:solid 1px red;}/*调整线的颜色*/
#employrecords > ul > li{list-style-type: none;margin-top:5px;}
#employrecords > ul > li > span{height:26px;display: inline-block;}
#employrecords > ul > li > span:nth-child(1){width:100px;}
#employrecords > ul > li > span:nth-child(2){width:100px;}
#employrecords > ul > li > span:nth-child(3){width:80px;}
#employrecords > ul > li > span:nth-child(4){width:200px;}
#employrecords > ul > li > span:nth-child(5){width:80px;}

#dietitians{position: relative;}
#dietitians >p {background-color: red;width:100px;height:26px;text-align: center;line-height: 26px;color:white;
border-radius: 4px 4px 0px 0px}
#dietitians > hr{width: 800px;position: absolute;top:16px;border:solid 1px red;}/*调整线的颜色*/
#dietitians > ul > li{list-style-type: none;margin-top:5px;}
#dietitians > ul > li > span{height:26px;display: inline-block;}
#dietitians > ul > li > span:nth-child(1){width:120px;}
#dietitians > ul > li > span:nth-child(2){width:140px;}
#dietitians > ul > li > span:nth-child(3){width:300px;}



#photo{width:80px;height:120px; border:solid 1px;position: absolute; right: 18px; top:26px;}

